import { defineStore } from 'pinia'

export default defineStore('menu', {
  state: () => ({
    // 已经初始化的路由，用于动态添加路由
    createdMap: {} as Record<string, boolean>
  }),
  getters: {},
  persist: {
    enabled: true,
    strategies: [
      {
        key: 'menu'
      }
    ]
  }
})
